package org.goldenport.g3.app

import org.goldenport.g3._
import org.goldenport.g3.messages._

/**
 * @since   Sep. 26, 2010
 * @version Sep. 26, 2010
 * @author  ASAMI, Tomoharu
 */
class HelloWebCli extends G3Application {
  agent('hello) {
    case _ => "Hello World"
  }

  html('web, "Hello") {
<body>
<h1>Hello</h1>

<g.string/>

</body>
  }

  start invoke("hello")
  port("/") invoke("hello") invoke("web")
}
